Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added missing items to feature #152

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

robserm
Copy link

@robserm robserm commented Nov 7, 2024

I have added missing items like copyright and description to the feature.
Another missing item are required features. So now the user may define one or more requirements for a feature, see example below:

platform {
feature(id: 'some_feature',
name: '%feature.label',
label: '%feature.label',
provider: '%feature.providerName',
license: '%license.url',
copyright: "%feature.copyright",
description: "%feature.description"
)
{
requires (
featureName: "required_feature",
version: "10.2.0",
match: "greaterOrEqual"
)
}
//here are the dependencies...
}

Copy link
Owner

@stempler stempler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the contribution!
I have some minor comments.

Task from my side is that I still need to update the project related to the changes to publishing to Maven Central, need to do that before a release can be done.

@@ -203,6 +216,18 @@ class ArtifactFeature implements Feature {
def invokeMethod(String name, def args) {
//TODO support manually adding a feature reference
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the TODO can be removed then?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed , I had to miss that

build.gradle Outdated
Comment on lines 143 to 149
doFirst {
println "isRelease: $isRelease"
println "isCI: $isCI"
}
onlyIf {
isRelease || isCI
// isRelease || isCI
false
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please exclude these changes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahhh, I am so sorry this change was not supposed to be a part of this pull request, now the original code is restored

@robserm
Copy link
Author

robserm commented Nov 25, 2024

I have also added a small explanation to README.md. I hope the content fits the rest of the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants